package com.xxxx.server.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 班级表
 * </p>
 *
 * @author zhoubin
 * @since 2022-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_tclass")
@ApiModel(value="Tclass对象", description="班级表")
public class Tclass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "编号")
    private String clno;

    @ApiModelProperty(value = "名称")
    private String clname;

    @ApiModelProperty(value = "学院编号")
    private Integer cono;

    @ApiModelProperty(value = "人数")
    private Integer clnumber;

    @ApiModelProperty(value = "学院名称")
    @TableField(exist = false)
    private String coname;


}
